#ifndef GENERICPLAYER_HEADER
#define GENERICPLAYER_HEADER

#include "Hand.h"
#include <string>

class GenericPlayer : public Hand {
public:
	// constructor and destructor
	GenericPlayer(const std::string& name = "");
	virtual ~GenericPlayer();
	// indicates if player wants to hit
	virtual bool isHitting() const = 0;
	// is player busted
	bool isBusted() const;
	// annouces that player busts
	void bust() const;
	// print the hand with name
	virtual void printHand() const = 0;
	// get name
	std::string getName();
protected:
	std::string name;
};

#endif